package cn.itcast.hotel.controller;

import cn.itcast.hotel.service.ItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;

@RestController
public class ItemController {
    @Autowired
    ItemService itemService;
    @GetMapping("/item")
    public void itemPage() throws IOException {
        itemService.itemPage();
    }
}
